//
//  MemorandumModle.m
//  ActionsMemorandum
//
//  Created by _LJX on 2017/10/26.
//  Copyright © 2017年 _LJX. All rights reserved.
//

#import "MemorandumModle.h"

@implementation MemorandumModle
-(instancetype)initWithDict:(NSDictionary *)dict{
    if(self = [super init]){
        //        @property(nonatomic ,strong)NSString *title;
        //        @property(nonatomic ,strong)NSString *time;
        //        @property(nonatomic ,strong)NSString *article;
        _title = dict[@"title"];
        _time  = dict[@"time"];
        _article = dict[@"article"];
    }
    
    return self;
    
}

+(instancetype)booksWithDict:(NSDictionary *)dict{
    
    return [[self alloc]initWithDict:dict];
    
}
@end
